package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author deep
 * @version 1.0 on 2020-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("loss_direction")
@ApiModel(value="LossDirectionEntity对象", description="")
public class LossDirectionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "LOS_ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "经销商ID")
    @TableField("LOS_DEL_ID")
    private Long delId;

    @ApiModelProperty(value = "流失方向编码")
    @TableField("LOS_CODE")
    private String code;

    @ApiModelProperty(value = "流失方向内容")
    @TableField("LOS_TEXT")
    private String text;

    @ApiModelProperty(value = "父级ID")
    @TableField("LOS_PARENT_CODE")
    private String parentCode;

    @ApiModelProperty(value = "开关： 1/开放")
    @TableField("LOS_STATUS")
    private Integer status;

    @ApiModelProperty(value = "记录创建人")
    @TableField("LOS_CREATE_USER")
    private String createUser;

    @ApiModelProperty(value = "记录创建日期")
    @TableField("LOS_CREATE_DATE")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "记录修改人")
    @TableField("LOS_UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "记录修改日期")
    @TableField("LOS_UPDATE_DATE")
    private LocalDateTime updateDate;


    public static final String LOS_ID = "LOS_ID";
    public static final String LOS_DEL_ID = "LOS_DEL_ID";
    public static final String LOS_CODE = "LOS_CODE";
    public static final String LOS_TEXT = "LOS_TEXT";
    public static final String LOS_PARENT_CODE = "LOS_PARENT_CODE";
    public static final String LOS_STATUS = "LOS_STATUS";
    public static final String LOS_CREATE_USER = "LOS_CREATE_USER";
    public static final String LOS_CREATE_DATE = "LOS_CREATE_DATE";
    public static final String LOS_UPDATE_USER = "LOS_UPDATE_USER";
    public static final String LOS_UPDATE_DATE = "LOS_UPDATE_DATE";
}
